package com.xquant.marketdata.marketdata.mapper;

import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @Auther: B946
 * @Date: 23/12/2019 10:16
 * @Description:
 */
@Repository
public interface IndexMapper {

    List<Map> getIndexInfo(Map<String, Object> params);
    List<Map> queryIndexInfoByPage(Map<String, Object> params);

    List<Map> queryIndexPriceByPage(Map<String, Object> params);

    List<Map> queryIndexCompByPage(Map<String, Object> params);

    void updateIndexInfo(Map map);

    void updateIndexPrice(Map map);

    void updateIndexComp(Map map);

    void insertIndexInfo(Map map);

    void insertIndexPrice(Map map);

    void insertIndexComp(Map map);

    void deleteIndexInfo(Map map);

    void deleteIndexPrice(Map map);

    void deleteIndexComp(Map map);

}
